Skip to content

Fix node version issue causing node-gyp rebuild error#71

Open
p0pstas wants to merge 1 commit into
sentialx:masterfrom
p0pstas:fix-node-version
Open

Fix node version issue causing node-gyp rebuild error#71
p0pstas wants to merge 1 commit into
sentialx:masterfrom
p0pstas:fix-node-version

Conversation

@p0pstas

@p0pstas p0pstas commented Nov 14, 2024

Copy link
Copy Markdown

Related to #68


For more details, open the Copilot Workspace session.

@popstas

popstas commented Nov 14, 2024

Copy link
Copy Markdown

Hello, I've tested locally, now it works at nodejs v20.17

Comment thread example.js Outdated
const requiredNodeVersion = '13.11.0';
const currentNodeVersion = process.versions.node;

if (currentNodeVersion < requiredNodeVersion) {

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be enforced at the package.json level, not at the API usage

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed, I've removed it from example, but changed line endings from CRLF to LF, without actual changes. Squashed to single commit.

@sentialx sentialx left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants